<!DOCTYPE html>
<html lang="en">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath(); 
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
	<title>测试页面</title>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <script src="<%=basePath%>weixin/js/mui.min.js"></script>
    <link rel="stylesheet" href="<%=basePath%>weixin/css/mui.min.css" />
    <link rel="stylesheet" href="<%=basePath%>weixin/css/base.css" />
    <link rel="stylesheet" href="<%=basePath%>weixin/css/style.css" />
    <script type="text/javascript" src="<%=basePath%>/js/jquery-1.9.0.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/js/layer/layer.js"></script>
    <style type="text/css">

    </style>
</head>

<body class="bg-f5">
<div class="flow-chart clearfix">
    <div class="process">
        <span>1</span>
        <p>用户注册</p>
    </div>
    <div class="process">
        <span>2</span>
        <p>等待审核</p>
    </div>
</div>
<div class="container-box">

    <div class="input-group bg-white m-top-30">
        <div class="input-group-item">
            <div class="input-group-icon"><i class="login-i login-i-1"></i></div>
            <div class="input-group-text">
                <input type="text" placeholder="真实姓名" value="${weixin_id.nickname}">
            </div>
        </div>
        <div class="input-group-item">
            <div class="input-group-icon"><i class="login-i login-i-2"></i></div>
            <div class="input-group-text">
                <input type="text" placeholder="手机号">
            </div>
        </div>
        <div class="input-group-item">
            <div class="input-group-icon"><i class="login-i login-i-3"></i></div>
            <div class="input-group-text">
                <input type="text" placeholder="所在地区" value="${weixin_id.province} ${weixin_id.city}">
                <input type="text" placeholder="详细信息" value="${weixin_id.headimgurl}">
            </div>
        </div>
        <div style="">
            <img src="${weixin_id.headimgurl}" style="width:100%;"/>
        </div>
    </div>
    <a class="m-btn m-btn-block m-top-30 m-bottom-30">下一步</a>
</div>
</body>
<script type="text/javascript">
    function ajaxSubmit(uidx,urlPath){
        $.ajax({
            type:"POST",
            url:"<%=basePath%>ajax/del/img",
            data:{
                'id' : "${SRModel.id}",
                'uidx' : uidx,
                'urlPath' : urlPath,
                'tm':new Date().getTime()
            },
            dataType:'json',
            cache: false,
            async: false,
            success: function(data){
                if(data.code==0){
                    layer.msg("删除成功");
                    $("#delImg"+uidx).hide();
                    $("#imgPath"+uidx).hide();
                }
            }, error: function(XMLHttpRequest, textStatus, errorThrown) {
                alert(XMLHttpRequest.status+" | "+XMLHttpRequest.readyState+"|"+textStatus);
            }
        });
    }
</script>
</html> 

